from random import randint as rnd

a = int(input())
r = 0
for i in range(100):
     
     x = rnd(-100,100)
     y = rnd(-100,100)

     if -7 > a and a > -8 and a < 5 and a > -8 and a > 5:
         r = r + 1
print("Количество выстрелов:",str(a))
print("Количество попаданий",str(r))
